package com.ruoyi.info.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 钓鱼点管理对象 fh_info_fishpoint
 * 
 * @author ruoyi
 * @date 2024-11-27
 */
@ApiModel(value = "FhInfoFishpoint",description = "钓鱼点实体")
public class FhInfoFishpoint extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("钓鱼点id")
    private Long id;

    /** 用户id */
    @ApiModelProperty("用户id")
    @Excel(name = "用户id")
    private Long userId;

    /** 钓鱼点名 */
    @ApiModelProperty("钓鱼点名")
    @Excel(name = "钓鱼点名")
    private String locationName;

    /** 经度 */
    @ApiModelProperty("经度")
    @Excel(name = "经度")
    private String longitude;

    /** 纬度 */
    @ApiModelProperty("纬度")
    @Excel(name = "纬度")
    private String dimension;

    /** 钓鱼点类型 */
    @ApiModelProperty("钓鱼点类型")
    @Excel(name = "钓鱼点类型")
    private String locationType;

    /** 钓鱼点图片 */
    @ApiModelProperty("钓鱼点图片")
    @Excel(name = "钓鱼点图片")
    private String locationImage;

    /** 钓鱼点视频 */
    @Excel(name = "钓鱼点视频")
    private String locationVideo;

    /** 鱼类ids */
    @ApiModelProperty("鱼类ids")
    @Excel(name = "鱼类ids")
    private String fishIds;

    /** 鱼类名称列表 */
    @ApiModelProperty("鱼类名称列表")
    @Excel(name = "鱼类名称列表")
    private String fishTypes;

    /** 权重 */
    @Excel(name = "权重")
    private String weight;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date crateTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setLocationName(String locationName) 
    {
        this.locationName = locationName;
    }

    public String getLocationName() 
    {
        return locationName;
    }
    public void setLongitude(String longitude) 
    {
        this.longitude = longitude;
    }

    public String getLongitude() 
    {
        return longitude;
    }
    public void setDimension(String dimension) 
    {
        this.dimension = dimension;
    }

    public String getDimension() 
    {
        return dimension;
    }
    public void setLocationType(String locationType) 
    {
        this.locationType = locationType;
    }

    public String getLocationType() 
    {
        return locationType;
    }
    public void setLocationImage(String locationImage) 
    {
        this.locationImage = locationImage;
    }

    public String getLocationImage() 
    {
        return locationImage;
    }
    public void setLocationVideo(String locationVideo) 
    {
        this.locationVideo = locationVideo;
    }

    public String getLocationVideo() 
    {
        return locationVideo;
    }
    public void setFishIds(String fishIds) 
    {
        this.fishIds = fishIds;
    }

    public String getFishIds() 
    {
        return fishIds;
    }
    public void setFishTypes(String fishTypes) 
    {
        this.fishTypes = fishTypes;
    }

    public String getFishTypes() 
    {
        return fishTypes;
    }
    public void setWeight(String weight) 
    {
        this.weight = weight;
    }

    public String getWeight() 
    {
        return weight;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setCrateTime(Date crateTime) 
    {
        this.crateTime = crateTime;
    }

    public Date getCrateTime() 
    {
        return crateTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("locationName", getLocationName())
            .append("longitude", getLongitude())
            .append("dimension", getDimension())
            .append("locationType", getLocationType())
            .append("locationImage", getLocationImage())
            .append("locationVideo", getLocationVideo())
            .append("fishIds", getFishIds())
            .append("fishTypes", getFishTypes())
            .append("weight", getWeight())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("crateTime", getCrateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
